DevForce Help Reference
StringLengthVerifierArgs Constructor(Type,String,Boolean,String,Nullable<Int32>,Nullable<Int32>,Nullable<Boolean>)


See RangeVerifier<T>
Syntax
'Declaration
 
Public Function New( _
   ByVal type As Type, _
   ByVal propertyName As String, _
   ByVal isRequired As Boolean, _
   ByVal displayName As String, _
   ByVal minLength As Nullable(Of Integer), _
   ByVal maxLength As Nullable(Of Integer), _
   Optional ByVal shouldTreatEmptyStringAsNull As Nullable(Of Boolean) _
)
'Usage
 
Dim type As Type
Dim propertyName As String
Dim isRequired As Boolean
Dim displayName As String
Dim minLength As Nullable(Of Integer)
Dim maxLength As Nullable(Of Integer)
Dim shouldTreatEmptyStringAsNull As Nullable(Of Boolean)
 
Dim instance As New StringLengthVerifierArgs(type, propertyName, isRequired, displayName, minLength, maxLength, shouldTreatEmptyStringAsNull)

Parameters

type
propertyName
isRequired
displayName
minLength
maxLength
shouldTreatEmptyStringAsNull
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

StringLengthVerifierArgs Class
StringLengthVerifierArgs Members
Overload List

Send Feedback